package com.shanzmoo.admin.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 仓库收货上架信息 更新对象
 *
 * @author Gzhao 2021-03-11
 */
@Data
@ApiModel("仓库收货上架信息-更新对象")
public class StoreReceivePutawayUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "上架ID不允许为空")
    @ApiModelProperty(value = "上架ID")
    private Integer id;

    @NotEmpty(message = "入库仓库编码不允许为空")
    @ApiModelProperty(value = "入库仓库编码")
    private String storeCode;

    @Min(0)
    @NotNull(message = "sku上架数量不允许为空")
    @ApiModelProperty(value = "sku上架数量")
    private Integer putawayNum;

}
